func go/types.typeErrorf

18 uses

	go/types (current package)
		builtins.go#L532: 				return typeErrorf("no specific type")
		builtins.go#L534: 				return typeErrorf("type must be slice, map, or channel")
		builtins.go#L974: 				err = typeErrorf("argument must be a slice; have untyped nil")
		builtins.go#L976: 				err = typeErrorf("argument must be a slice; have %s", x)
		builtins.go#L983: 			err = typeErrorf("mismatched slice element types %s and %s in %s", E, s.elem, x)
		call.go#L251: 			return typeErrorf("%s is not a function", t)
		expr.go#L200: 			return typeErrorf("no specific channel type")
		expr.go#L204: 			return typeErrorf("non-channel %s", t)
		expr.go#L207: 			return typeErrorf("send-only channel %s", t)
		expr.go#L210: 			return typeErrorf("receive-only channel %s", t)
		predicates.go#L173: 			return typeErrorf("")
		predicates.go#L182: 				return typeErrorf("struct containing %s cannot be compared", f.typ)
		predicates.go#L188: 			return typeErrorf("%s cannot be compared", T)
		predicates.go#L201: 		return typeErrorf(cause)
		predicates.go#L204: 		return typeErrorf("")
		range.go#L214: 			return typeErrorf("receive from send-only channel %s", t)
		under.go#L54: func typeErrorf(format string, args ...any) *typeError {
		under.go#L89: 		err = typeErrorf(format, args...)